package com.j.lemon.learn;


import akka.stream.impl.fusing.Take;

import java.util.HashSet;
import java.util.Set;
import java.util.concurrent.BlockingQueue;
import java.util.concurrent.LinkedBlockingQueue;

/**
 * @Author lijunjun
 * @Date 2020/9/11 15:37
 * @Description
 */
public class TakeTest {
    public static void main(String[] args) {
        TakeTest takeTest = new TakeTest();
        takeTest.get2();
    }

    public int get(){
        int i = 5;
        int j = 4;
        int k = i + j;
        return k;
    }

    public void get1(){
        int i = get();
        int j = 10;
    }

    public void get2(){
        int i = 10;
        int i1 = i++;
        System.out.println(i1);
        int j = 20;
        int j1 = ++j;
        System.out.println(j1);
    }
}
